package com.tracesystem.controller.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * 添加严重程度的类Form
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddSeverityForm {

    //严重程度的id
    private Integer severityCode;
    //严重程度的分类
    @Length(min = 1,max = 20)
    private String severityDesc;
    //严重程度的状态
    @Length(min = 1,max = 20)
    private String moduleState;
}
